<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Article, desu.</title>
<link rel="shortcut icon" href="images/icon.jpg">



<style type="text/css">
html,body {
	margin: 0;
	padding: 0;
	height: 100%;
}

#container {
	min-height: 100%;
	position: relative;
}

#header {
	text-align: center;
	font-size: 35px;
	height: 40px;
	clear: both;
	height: 40px;
	background-image: url('images/kavai_background.jpg');
}

#body {
	width: 100%;
	height: auto;
	padding-bottom: 40px; /* Height of the footer */
}

#footer {
	position: absolute;
	bottom: 10;
	width: 100%;
	height: 40px; /* Height of the footer */
}
}
</style>
</head>


<body>

	<div id="container">
		<div id="header"></div>
		<div id="body">

			<img style="float: left; padding: 0px 10px 201px 15px;"
				src="images/readarticle.jpg" />
			<form name="userprofileform" method="POST" action="">

				<p style="background-color: #FFB6C1; font-size: 18px">
				
				
				<?php
				echo $this->article->getTitle ();
				
				?>
				
			
				
				
				
				
				
				
				
				
				<p />
	<?php
	
	if (parent::invokedByAdmin ()) {
		//echo '<a href="readarticle.php?article">Edit article </a><br/>';
		echo ' <a href="editarticle.php?article=' . $this->article->getArticleId() . '">Edit this shit</a>';
	}
	
	?>
				<p
					style="padding-top: 10px; padding-left: 20px; padding-right: 20px;">
					
					<?php
					echo $this->article->getContent ();
					?>
				
				
				
				
				
				
				
				
				<p style="text-align: right; padding-right: 20px;">
					Written by <strong>
					<?php
					echo htmlspecialchars ( $this->article->getUserName () ) . "</strong> ";
					echo $this->article->getPublicationDate ();
					?>
					
					
				
				
				
				
				
				
				
				
				
				</p>
				</p>



				<p style="background-color: #FFB6C1; font-size: 18px">Comments
				
				
				<p />

		<?php
		echo $this->renderComments ();
		echo $this->renderAddComment ();
		?>		
				

		
		
		
		
		
		
		
		
		
		
		
		</div>
		<div id="footer">
			<p
				style="text-align: center; font-size: 18; color: red; vertical-align: middle; text-shadow: #000 1px 0 0px, #000 0 1px 0px, #000 -1px 0 0px, #000 0 -1px 0px;">
				&copy; Quartet Developers 2013</p>
		</div>
	</div>


</body>
</html>